export default {
    state: {
        navTree: [],  // 导航菜单树
        breadName: null,
        indexCurrent:false
    },
    getters: {
   
    },
    mutations: {
        setNavTree(state, navTree){  // 设置导航菜单树
            state.navTree = navTree;
        },
        //面包屑数据
        setBreadName(state, data) {
            state.breadName = data
        },
        //首页菜单是否选中
        setIndexCurrent(state, data) {
            state.indexCurrent = data
        }
    },
    actions: {
        
    }
}